﻿<Window x:Class="MindTree.PerfWorkbench.Azure.Monitor.GraphCounterConfig"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="GraphCounterConfig" Height="468" Width="954" Loaded="On_Load" Closed="Window_Closed">
    <Grid>        
        <GroupBox Header="Application Roles" Height="358" HorizontalAlignment="Left" Margin="5,35,0,0" Name="grpBoxRoles" VerticalAlignment="Top" Width="143">
            <Grid>
                <ListBox Height="330" HorizontalAlignment="Left" Margin="6,6,0,0" Name="lstBoxRoles" VerticalAlignment="Top" Width="120" SelectionMode="Single" SelectionChanged="RoleSelection_Changed" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Role Instances" Height="358" HorizontalAlignment="Left" Margin="154,35,0,0" Name="grpBoxInstances" VerticalAlignment="Top" Width="143">
            <Grid>
                <ListBox Height="330" HorizontalAlignment="Left" Margin="6,6,0,0" Name="lstBoxInstances" VerticalAlignment="Top" Width="120" SelectionMode="Single" SelectionChanged="RoleInstanceSelection_Changed" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Available Performance Counters" Height="358" HorizontalAlignment="Left" Margin="303,35,0,0" Name="groupBox1" VerticalAlignment="Top" Width="285">
            <Grid>
                <ListBox Height="330" HorizontalAlignment="Left" Margin="6,6,0,0" Name="lstBoxAvailableCntrs"  SelectionMode="Multiple" VerticalAlignment="Top" Width="261" ScrollViewer.HorizontalScrollBarVisibility="Auto"/>
            </Grid>
        </GroupBox>
        <GroupBox Header="Selected Graph Counters" Height="358" HorizontalAlignment="Left" Margin="643,35,0,0" Name="groupBox2" VerticalAlignment="Top" Width="285">
            <Grid>
                <ListBox Height="330" HorizontalAlignment="Left" Margin="6,6,0,0" Name="lstBoxGraphCntrs" SelectionMode="Multiple" VerticalAlignment="Top" Width="261" />
            </Grid>
        </GroupBox>
        <Button Content="&gt;&gt;"  Height="33" HorizontalAlignment="Left" Margin="600,161,0,0" Name="btnAddGraphCntr" VerticalAlignment="Top" Width="35" Click="btnAddGraphCntr_Click" />
        <Button Content="&lt;&lt;" Height="33" HorizontalAlignment="Left" Margin="599,211,0,0" Name="btnRemGraphCntr" VerticalAlignment="Top" Width="35" Click="btnRemGraphCntr_Click" />
        <Button Content="Save Graph Counters" Height="23" HorizontalAlignment="Left" Margin="323,404,0,0" Name="btnSaveGraphCntrs" VerticalAlignment="Top" Width="115" Click="btnSaveGraphCntrs_Click" />
        <Button Content="Cancel" Height="23" HorizontalAlignment="Left" Margin="459,404,0,0" Name="btnCancel" VerticalAlignment="Top" Width="75" Click="btnCancel_Click" />
    </Grid>
</Window>
